<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>随手快递</title>
    <link rel="stylesheet" type="text/css" href="../../AUI/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../font-awesome/css/font-awesome.min.css" />
    <style type="text/css">
        .la {
            width: 100%;
            padding: 10px 20px;
            text-align: center;
        }
        input[type="text"], input[type="password"]{
            width:80%;
            height: 30px;
            border-bottom: 1px solid #bfbfbf;
            color: #626262;
            font-size: 15px;
            padding-left:10px ;
            margin: auto;
        }
    </style>
</head>
<body>
<header class="aui-bar aui-bar-nav" id="aui-header">
    <a class="aui-btn aui-pull-left" tapmode onclick="history.back();">
        <span class="aui-iconfont aui-icon-left"></span>
    </a>
    <div class="aui-title">找回密码</div>
    <div class="aui-btn aui-pull-right"></div>
</header>
<div class="aui-content" style="margin-top: 80px">
    <div class="la">
        <input type="text" placeholder="请输入手机号" id="phone">
    </div>

</div>
<div style="clear: both;"></div>
<div  style="text-align: center;margin-top: 20px">
    <div class="aui-btn aui-btn-success" style="width: 70%;height: 35px;line-height: 35px;background: rgb(40, 174, 161)" id="submit" >下一步</div></div>
</div>

<script type="text/javascript" src="../../myJs/jquery-1.12.1.min.js" ></script>
<script src="../../myJs/jquery.cookie.js"></script>
<script type="text/javascript" src="../../myJs/index.js" ></script>
<script>
    //保存地址
    $("#submit").on("click",function(){
        var phone = $("#phone").val();
        if(phone==""){
            alertmd("请输入手机号");
            return false;
        }
        if (!phone.match(/^1[34578]\d{9}$/)) {
            alertmd("手机号码格式不正确");
            $("#phone").val("");
            return false;
        }
        location.href='forget_c.html';
        /*  $.ajax({
         type: "post",
         url: '',
         data: {
         username：username，
         password：password
         },
         datatype: "json",
         success: function (data) {
         }

         });*/
    })
</script>
</body>
</html>